#ifndef NEW_ACCOUNT_H
#define NEW_ACCOUNT_H

#include"account.h"
#include"db_class.h"
#include <QMainWindow>

namespace Ui {
    class New_account;
}

class New_account : public QMainWindow
{
    Q_OBJECT

public:
    explicit New_account(int id,QWidget *parent = 0);
    ~New_account();

private:
    Ui::New_account *ui;
    int accid;
    db_class db;


private slots:
    void on_save_clicked();
    void back();
};

#endif // NEW_ACCOUNT_H
